package com.bjbn.controller;

import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.*;


/**
 * WebAPI控制器
 *
 * @author bjbn
 */
@RestController
@RequestMapping("/")
@Tag(name = "WebAPI接口", description = "WebAPI相关接口")
public class HealthController {

    /**
     * 健康检查接口
     *
     * @return 服务状态
     */
    @GetMapping("/health")
    @Operation(summary = "健康检查", description = "服务健康状态检查")
    public String health() {
        return "AESB WebAPI Api Service is running";
    }
}